package com.kb.design.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @Auther:chenzx
 * @Date:2023/11/13
 * @Description:
 */

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DesignRequirementDTO implements Serializable {
    private static final long serialVersionUID = 668765187503200573L;
    private Integer  page = 1;
    private Integer perPage = 10;

    /**
     * 自增主键
     */
    private Long id;
    private Long requirementId;
    private Long parentId;
    private Long projectId;

    private List<String> userCodeList;
    private String personResponsibleId;

    private String personResponsibleName;
    private Integer isAdmin;

    private String projectNumber;
    private Date projectEndDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;
    /**
     * 业务员
     */
    private String salesName;
    private String designStatus;
    private String orderNo;
    private Integer pinAmount;
    /**
     * 订单日期
     */
    private Date orderDate;
    /**
     * 节点负责人
     */
    private String nodeResponsiblePersonId;
    private String nodeResponsiblePersonName;
    private String designNumber;
    //审核类型
    private String reviewType;
    private BigDecimal completionRate;
    private BigDecimal actualWorkHours;
    private BigDecimal totalWorkHours;
    private Integer isComplete;    //上次更新时间
    private LocalDateTime lastTime;

    /**
     * 客户代码
     */
    private String customerCode;
    /**
     * 合同编号
     */
    private String contractNumber;
    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 业务员
     */
    private String salesmanName;

    /**
     * 项目开始日期
     */
    private Date projectStartDate;

    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 更新时间
     */
    private String updateTime;
    /**
     * 更新人
     */
    private String updateBy;
    /**
     * remark
     */
    private String remark;
    /**
     * 状态
     */
    private String state;




}
